import request from '@/utils/request'

//查询片块信息
export function queryByProjectId(data) {
    return request({
      url: '/pc/land/certificate_application_second_audit/query_by_project_id',
      method: 'POST',
      data
    })
}

//查询片块信息
// export function queryOpinionType() {
//   return request({
//     url: '/pc/land/certificate_application_second_audit/query_opinion_type',
//     method: 'POST',
//   })
// }

//审查前期测绘现状图
export function auditEarlyMappingStatusMap(data) {
  return request({
    url: '/pc/land/certificate_application_second_audit/audit_early_mapping_status_map',
    method: 'POST',
    data
  })
}

//审查竣工测绘现状图
export function auditLaterMappingStatusMap(data) {
  return request({
    url: '/pc/land/certificate_application_second_audit/audit_later_mapping_status_map',
    method: 'POST',
    data
  })
}

//保存附件意见
export function saveOpinion(data) {
  return request({
    url: '/pc/project/certificate_application_second_audit/save_enclosure_opinion',
    method: 'POST',
    data
  })
}

//附件列表
export function queryEnclosure(data) {
  return request({
    url: '/pc/project/certificate_application_second_audit/query_enclosure',
    method: 'POST',
    formData:data
  })
}

//查询项目基本信息
export function queryProjectBasicInfo(data) {
  return request({
    url: '/pc/project/certificate_application_second_audit_opinion/query_project_basic_info',
    method: 'POST',
    formData:data
  })
}

//查询片块前期测绘现状图初审信息
export function getLandEarlyStatusMapAuditInfo(data) {
  return request({
    url: '/pc/land/certificate_application_second_audit/get_land_status_map_audit_info',
    method: 'POST',
    formData:data
  })
}
//查询片块竣工测绘现状图初审信息
export function getLandJungongStatusMapAuditInfo(data) {
  return request({
    url: '/pc/land/certificate_application_second_audit/02_get_land_status_map_audit_info',
    method: 'POST',
    formData:data
  })
}

//处理附件审查结果（导出）
export function exportOpinion(data) {
  return request({
    url: '/pc/project/certificate_application_second_audit/handle_enclosure_audit_result',
    method: 'POST',
    formData:data
  })
}


//保存项目合格证申请要件审查市中心意见(经办人意见)
export function saveAgentOpinion(data) {
  return request({
    url: '/pc/project/certificate_application_second_audit_opinion/save_agent_opinion',
    method: 'POST',
    data
  })
}

//保存项目合格证申请要件审查市中心意见(处室负责人意见)
export function saveOfficePeopleOpinion(data) {
  return request({
    url: '/pc/project/certificate_application_second_audit_opinion/save_office_people_opinion',
    method: 'POST',
    data
  })
}
//保存项目合格证申请要件审查市中心意见(中心分管领导意见)
export function saveCenterLeaderOpinion(data) {
  return request({
    url: '/pc/project/certificate_application_second_audit_opinion/save_center_leader_opinion',
    method: 'POST',
    data
  })
}

//处理附件审查结果（导出）
export function queryYaojianOpinion(data) {
  return request({
    url: '/pc/project/certificate_application_second_audit_opinion/queryOpinion',
    method: 'POST',
    formData:data
  })
}

//获取审核意见类型
export function queryOpinionType() {
  return request({
    url: '/pc/project/early_mapping_result/second_audit/14_get_file_Opinion_type',
    method: 'POST',
  })
}

//获取要件辅助审查数据
export function queryLandCertificateSectiondAuditInfo(data) {
  return request({
    url: '/pc/land/certificate_application_first_audit/01_query_land_certificate_sectiond_audit_info',
    method: 'POST',
    data
  })
}

//附件审查 >>> 查询附件信息
export function queryCheckEnclosure(data) {
  return request({
    url: '/pc/land/certificate_application_first_audit/08_query_check_enclosure',
    method: 'POST',
    formData:data
  })
}
//附件审查 >>> 保存附件意见(审查附件)
export function checkEnclosureOpinion(data) {
  return request({
    url: '/pc/land/certificate_application_first_audit/07_save_check_enclosure_opinion',
    method: 'POST',
    data
  })
}

//图件审查 >>> 获取前期测绘现状图
export function queryEarlyXzt(data) {
  return request({
    url: '/pc/land/certificate_application_first_audit/03_query_early_,apping_result_first_audit',
    method: 'POST',
    formData:data
  })
}
//图件审查 >>> 获取竣工测绘现状图
export function queryJungongXzt(data) {
  return request({
    url: '/pc/land/certificate_application_first_audit/04_query_later_status_map_first_audit',
    method: 'POST',
    formData:data
  })
}

//图件审查 >>> 保存前期测绘现状图审查意见
export function auditEarlyStatusMapInfo(data) {
  return request({
    url: '/pc/land/certificate_application_first_audit/05_audit_early_status_map_info',
    method: 'POST',
    data
  })
}
//图件审查 >>> 保存竣工测绘现状图审查意见
export function auditLandStatusMapInfo(data) {
  return request({
    url: '/pc/land/certificate_application_first_audit/06_audit_land_status_map_info',
    method: 'POST',
    data
  })
}

//图件审查 >>> 保存竣工测绘现状图审查意见
export function auditSecondAuditInfo(data) {
  return request({
    url: '/pc/land/certificate_application_first_audit/07_audit_second_audit_info',
    method: 'POST',
    data
  })
}

//附件审查 >>> 保存附件意见
export function saveCheckEnclosureOpinion(data) {
  return request({
    url: '/pc/land/certificate_application_first_audit/09_save_check_enclosure_opinion',
    method: 'POST',
    data
  })
}


//附件审查 >>> 校验附件审查意见
export function verifyAttachmentOpinion(data) {
  return request({
    url: '/pc/land/certificate_application_first_audit/10_verify_attachment_opinion',
    method: 'POST',
    formData:data
  })
}

//获取外业抽查信息
export function queryWyccTableInfo(data) {
  return request({
    url: '/pc/project/certificate_application_second_audit_opinion/supervising_info',
    method: 'POST',
    data
  })
}
//保存项目合格证申请要件审查外业抽查复核意见(市级抽查复核意见)
export function saveFieldRandomReviewOpinion(data) {
  return request({
    url: '/pc/project/certificate_application_second_audit_opinion/save_field_random_review_opinion',
    method: 'POST',
    formData:data
  })
}
//获取外业抽查基本信息
export function queryWyBasceInfo(data) {
  return request({
    url: '/pc/project/certificate_application_second_audit_opinion/query_supervising_info',
    method: 'POST',
    formData:data
  })
}
//审查片块外业信息

export function hgzAuditLandOuterInfo(data) {
  return request({
    url: '/pc/land/certificate_application_first_audit/06_audit_land_outer_info',
    method: 'POST',
    data
  })
}